package com.treasure.mall.zbqmallapi.vo.live;

import com.treasure.mall.biz.entity.embeddable.LiveRoomData;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.zbqmallapi.vo.live
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/15 21:35
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.zbqmallapi.vo.live Inc. All rights reserved.
 */
@Data
@NoArgsConstructor
public class LiveRoomDataVO {

    private String title;
    /**
     * 直播间描述
     */
    private String description;

    /**
     * 正方形封面
     */
    private String logo;
    /**
     * 横向封面
     */
    private String landscapeCover;
    /**
     * 纵向 封面
     */
    private String portraitCover;

    /**
     * 直播地点
     */
    private String liveAddr;

    public LiveRoomDataVO(LiveRoomData liveRoomData) {
        this.title = liveRoomData.getTitle();
        this.description = liveRoomData.getDescription();
        this.liveAddr = liveRoomData.getLiveAddr();
        this.logo = liveRoomData.getLogo();
        this.landscapeCover = liveRoomData.getLandscapeCover();
        this.portraitCover = liveRoomData.getPortraitCover();
    }
}
